{include file="$temps.head" title="$webs.title" keywords="$webs.keywords" description="$webs.description" /}
<section class="layout cx-fex-c bg-fff">
    <div class="layout layui-tab layui-tab-brief">
        <ul class="layout cx-fex-c list-nav-title layui-tab-title">
            {volist name="partlist" id="cx" empty=""}
            {if condition="($cx.mid == $lagpart.mid) AND ($cx.pid == 0)"}
            <li class="{eq name='$cx.id' value='$parts.id'}layui-this{/eq} {eq name='$cx.id' value='$parts.pid'}layui-this{/eq}">{$cx.title}</li>
            {/if}
            {/volist}
        </ul>
        <div class="layout layui-tab-content list-nav-cont">
            {volist name="partlist" id="cx" empty=""}
            {if condition="($cx.mid == $lagpart.mid) AND ($cx.pid == 0)"}
            <div class="layout layui-tab-item {eq name='$cx.id' value='$parts.id'}layui-show{/eq} {eq name='$cx.id' value='$parts.pid'}layui-show{/eq}">
                {eq name="$cx.class" value="0"}
                <div class="cx-fex-l">
                    <a class="list-nav-conta {eq name='$cx.id' value='$parts.id'}alick{/eq}" title="{$cx.title}" href="{:url('Part/index',array('fid'=>$cx.id))}">全部</a>
                    {volist name="partlist" id="c" empty=""}
                    {eq name="$c.pid" value="$cx.id"}
                    <a class="list-nav-conta {eq name='$c.id' value='$parts.id'}alick{/eq}" title="{$c.title}" href="{:url('Part/index',array('fid'=>$c.id))}">{$c.title}</a>
                    {/eq}
                    {/volist}
                </div>
                {/eq}
            </div>
            {/if}
            {/volist}
        </div>
    </div>
</section>
<section class="layout bg-fff cx-fex-c list-sok mt-15 cx-fixed">
    <div class="x11 cx-fex">
        <a class="list-so-l b-r" {eq name="parts.listorder|default='0'" value="0"}style="color:#c30"{/eq} href="{:url('Part/index',array('fid'=>$parts.id))}">综合</a>
        <a class="list-so-l b-r" {eq name="parts.listorder|default=''" value="1"}style="color:#c30"{/eq} href="{:url('Part/index',array('fid'=>$parts.id,'ls'=>'1'))}">最新</a>
        <a class="list-so-l b-r" {eq name="parts.listorder|default=''" value="5"}style="color:#c30"{/eq} href="{:url('Part/index',array('fid'=>$parts.id,'ls'=>'5'))}">推荐</a>
        <a class="list-so-l" {eq name="parts.listorder|default=''" value="3"}style="color:#c30"{/eq} href="{:url('Part/index',array('fid'=>$parts.id,'ls'=>'3'))}">最热</a>
    </div>
</section>
<section class="layout">
    <ul class="layout cx-fex-l">
    {volist name="artlist" id="cx" empty=""}
    <li class="xs3 xl6 fex-column in-tuangou-lik pad-a5">
        <a class="layout" href="{:url('Article/index',array('aid'=>$cx.aid))}">
        <div class="layout bg-fff">
            <div class="layout in-tuangou-imgl pos-r">
                <div class="img-auto in-tuangou-imgk pos-a">
                    <div class="zoomImages" style="background-image: url('{$cx.picurl}')"></div>
                </div>
            </div>
            <div class="layout pad-a5 fex-column">
                <h3 class="t-14 in-goumai-t">{:get_word($cx.title,20)}</h3>
                <div class="layout pad-t10 pad-b10 fex-column">
                    <div class="cx-fex">
                        <div class="in-tuangou-jiah t-14 t-red">
                            <i class="cx-icon cx-icon-renminbi1688"></i>
                            <span class="t-18">
                                {switch name="$cxbsuser.group_id" }
                                {case value="5"}{$cx.shichuangjia}{/case}
                                {case value="6"}{$cx.yinjia}{/case}
                                {case value="7"}{$cx.jinjia}{/case}
                                {case value="8"}{$cx.pifajia}{/case}
                                {default /}
                                {$cx.shichuangjia}
                                {/switch}
                            </span>
                        </div>
                        <div class="t-gray mb-5"><span class="t-red t-12">{:get_count('Order',array('aid'=>$cx.aid))}</span> 人已付款</div>
                    </div>
                    <div class="cx-fex-c mt-10">
                        <span class="button button-S bg-yellow">立即购买</span>
                    </div>
                </div>
            </div>
        </div>
        </a>
    </li>
    {/volist}
    </ul>
    <div class="pad-a10 cx-fex-c">
        {$pages}
    </div>
</section>
<div style="width:100%;height: 60px"></div>
{include file="$temps.foot" /}